package com.ygqh.baby.po;

import java.util.Date;

import com.ygqh.baby.ao.DataStatus;

public class YgPreSaleLogs {
	private Long id;

	private Long productId;

	private String productName;

	private String productCode;

	private Date preSaleDate;

	private String createBy;

	private Date createTime;

	private String remark;

	private DataStatus status;

	public YgPreSaleLogs() {
		super();
	}

	public YgPreSaleLogs(Long productId, String productName, String productCode, Date preSaleDate, String createBy,
			Date createTime, String remark) {
		super();
		this.productId = productId;
		this.productName = productName;
		this.productCode = productCode;
		this.preSaleDate = preSaleDate;
		this.createBy = createBy;
		this.createTime = createTime;
		this.remark = remark;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getProductId() {
		return productId;
	}

	public void setProductId(Long productId) {
		this.productId = productId;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName == null ? null : productName.trim();
	}

	public String getProductCode() {
		return productCode;
	}

	public void setProductCode(String productCode) {
		this.productCode = productCode == null ? null : productCode.trim();
	}

	public Date getPreSaleDate() {
		return preSaleDate;
	}

	public void setPreSaleDate(Date preSaleDate) {
		this.preSaleDate = preSaleDate;
	}

	public String getCreateBy() {
		return createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy == null ? null : createBy.trim();
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark == null ? null : remark.trim();
	}

	public DataStatus getStatus() {
		return status;
	}

	public void setStatus(DataStatus status) {
		this.status = status;
	}

	@Override
	public String toString() {
		return "YgPreSaleLogs [id=" + id + ", productId=" + productId + ", productName=" + productName
				+ ", productCode=" + productCode + ", preSaleDate=" + preSaleDate + ", createBy=" + createBy
				+ ", createTime=" + createTime + ", remark=" + remark + ", status=" + status + "]";
	}

}